package com.cosina.game.robodefence.dao;

import static com.cosina.game.robodefence.data.AchievementData.data;

import java.util.ArrayList;
import java.util.List;

import com.cosina.game.robodefence.model.Achievement;

public class AchievementDao {
	public static List<Achievement> getRewards(){
		final List<Achievement> result = new ArrayList<Achievement>();
		for(int i=0; i<data.length; i++){
			Achievement achievement = new Achievement(data[i][0],data[i][1],false);
			result.add(achievement);
		}
		return result;
	}
}
